@import './variables.scss';
@import './mixin.scss';
@import './vant.scss';
@import './ele.scss';
@import 'normalize.css';
img {
    content: normal !important;
}

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden],
template {
    display: none
}

a {
    text-decoration: none
}

a:active,
a:hover {
    outline: 0;
    text-decoration: none
}

abbr[title] {
    border-bottom: 1px dotted
}

b,
strong {
    font-weight: 700
}

dfn {
    font-style: italic
}

h1 {
    margin: .67em 0
}

mark {
    color: #000;
    background: #ff0
}

small {
    font-size: 80%
}

sub,
sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 1em 40px
}

hr {
    height: 0;
    box-sizing: content-box
}

pre {
    overflow: auto
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

button,
input,
optgroup,
select,
textarea {
    margin: 0;
    font: inherit;
    color: inherit
}

button {
    overflow: visible
}

button,
select {
    text-transform: none
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled],
html input[disabled] {
    cursor: default
}

input {
    line-height: normal
}

input[type=checkbox],
input[type=radio] {
    box-sizing: border-box;
    padding: 0
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    height: auto
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    padding: .35em .625em .75em;
    margin: 0 2px;
    border: 1px solid silver
}

legend {
    padding: 0;
    border: 0
}

textarea {
    overflow: auto
}

optgroup {
    font-weight: 700
}

table {
    border-spacing: 0;
    border-collapse: collapse
}

td,
th {
    padding: 0
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-user-select: auto;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: transparent
}

body {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    font-size: 17px;
    line-height: 21px;
    color: #000;
    background-color: #efeff4
}

a {
    color: #007aff;
    text-decoration: none
}

a:active {
    color: #0062cc
}

//激活搜索框样式
.wei-header {
    z-index: 999 !important; // 搜索框
    .search {
        width: 0;
    }
    transition: all .8s;
    &.is-active {
        background-color: rgba($color: $mainBg, $alpha: 1) !important;
        i,
        .van-nav-bar__title {
            color: #fff !important;
        }
        .van-nav-bar__title {
            max-width: 100%;
            color: #fff;
        }
        .van-nav-bar__left {
            height: 100%;
        }
        .logo {
            padding: 0 5px;
            height: 100%;
            display: flex;
            align-items: center;
            img {
                height: 25px;
            }
        }
        .search {
            position: absolute;
            bottom: 9px;
            padding: 0 12px;
            width: calc(100% - 75px);
            height: 28px;
            background-color: #f2f2f2;
            border-radius: 30px;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            i {
                margin-top: 2px;
                font-size: 16px;
            }
            &>input {
                width: 100%;
                font-size: 14px;
                background-color: transparent;
                border: none;
                text-indent: 8px;
            }
        }
    }
}

.fengniao-color {
    color: $mainBg !important
}

.fengniao-tip {
    margin-top: 200px;
    width: 100%;
    color: #ccc;
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
}

.fengniao-list {
    .item {
        padding: 8px 20px;
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 40px;
            line-height: 40px;
            .title {
                width: 60%;
                height: 100%;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                font-size: 16px;
                color: #4e545d;
            }
        }
        .date {
            font-size: 12px;
            color: #c2c2c2;
            line-height: 30px;
        }
        .menu {
            position: relative;
            display: flex;
            justify-content: flex-end;
            .btn {
                font-size: 14px;
                i {
                    margin-top: 1px;
                    margin-left: 5px;
                    font-size: 12px;
                }
            }
        }
    }
}

.avue-tip {
    display: block;
    width: 100%;
    text-align: center;
    color: #999;
    font-size: 16px;
}

.fengniao-share {
    padding: 20px;
    .icon {
        $height: 50px;
        margin: 0 auto 8px auto;
        width: $height;
        height: $height;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 100%;
        i {
            color: #fff;
            font-size: 22px;
        }
    }
    .title {
        color: #999;
        text-align: center;
    }
}

.fengniao-panel {
    padding: 10px 20px;
    margin-bottom: 10px;
    .fengniao-panel__title {
        position: relative;
        line-height: 40px;
        border-bottom: 1px solid #f2f2f2;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .title {
            color: #333;
            font-weight: bold;
            font-size: 16px;
            .van-tag {
                margin-left: 10px;
            }
        }
        .more {
            color: #999;
        }
    }
    .fengniao-panel__content {
        padding: 10px 0;
        min-height: 80px;
        max-height: 300px;
        font-size: 16px;
        line-height: 20px;
        overflow-y: auto;
        color: #666;
        text-indent: 2em;
    }
}

.fengniao-content {
    margin-bottom: 10px;
    background-color: #fff;
    .van-cell {
        padding: 15px 15px;
        display: flex;
        align-items: center;
    }
    .van-cell__value {
        color: #999;
    }
    .left-icon {
        margin-right: 15px;
        width: 30px;
        height: 30px;
        border-radius: 8px;
        color: #fff;
        line-height: 30px;
        font-size: 16px;
        text-align: center;
    }
}

.fengniao-tabs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin-bottom: 10px;
    background-color: #fff;
    z-index: 9999;
    .van-tabs {
        margin: 0 auto;
    }
}

.fengniao-form {
    .van-field {
        display: flex;
        align-items: center;
    }
    .van-hairline.is-active {
        .van-cell__title {
            color: #58c474;
        }
    }
    .van-hairline.is-disabled {
        .van-cell__title {
            color: #eee;
        }
    }
    background-color: transparent;
    &::after {
        content: none !important;
    }
    .form-items {
        margin-bottom: 10px;
    }
    .form-item {
        display: flex;
        align-items: center;
        &:last-child {
            &::after {
                content: none !important
            }
        }
        &::after {
            width: 90%;
            left: 5%;
            border-color: #eee;
            border-style: solid;
            border-width: 0;
            border-bottom-width: 1px;
            box-sizing: border-box;
        }
        .icon {
            color: #ccc;
        }
        .van-field__button {
            display: flex;
            align-items: center;
        }
        .van-cell__value {
            $color: #c8c8cb;
            input::-webkit-input-placeholder,
            textarea::-webkit-input-placeholder {
                color: $color;
            }
            input:-moz-placeholder,
            textarea:-moz-placeholder {
                color: $color;
            }
            input::-moz-placeholder,
            textarea::-moz-placeholder {
                /* Mozilla Firefox 19+ */
                color: $color;
            }
            input:-ms-input-placeholder,
            textarea:-ms-input-placeholder {
                /* Internet Explorer 10+ */
                color: $color;
            }
        }
    }
    .form-menu {
        margin-top: 30px;
        text-align: center;
        .submit {
            width: 90%;
        }
    }
}